package cn.shop.front.entity.req;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : 李一涵
 * @date : Created in 2022/5/23 16:55
 * @description :
 */
@Data
@ToString
public class TransactionBatchReq {

    /**
     * 商品id
     */
    @NotNull(message = "商品id不能为空")
    @NotEmpty(message = "商品id不能为空")
    private List<Long> productIds;

    /**
     * 领取账号
     */
    @NotNull(message = "领取账号不能为空")
    private String account;

}
